package com.qf.smartdevice.events;

import com.qf.smartdevice.events.enums.DeviceStatus;

/**
 * @author 王博康
 * @version 1.0
 * @project devicemanagementsystem
 * @description: TODO
 * @date 2022/3/27 11:05 星期日
 */
public class DevicePowerEvent {
    private String deviceId;
    private String ip;
    private DeviceStatus deviceStatus;

    public DevicePowerEvent(String deviceId, String ip, DeviceStatus deviceStatus) {
        this.deviceId = deviceId;
        this.ip = ip;
        this.deviceStatus = deviceStatus;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public DeviceStatus getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(DeviceStatus deviceStatus) {
        this.deviceStatus = deviceStatus;
    }
}
